/*goods-sku*/

.block,
.block-item {
    display: block;
    overflow: hidden;
    border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
}

.quantity,
.quantity .txt,
.quantity button,
.sku-layout .vertical-middle {
    vertical-align: middle;
}

.block,
.block p,
.block-item {
    overflow: hidden;
}

.quantity .txt,
.quantity button,
.tag {
    text-align: center;
    margin: 0;
}

.block,
.block-item,
.sku-layout .block-item,
.sku-layout-title,
.sku-message dl {
    border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
}

.image-input-trigger,
.quantity .txt {
    -webkit-tap-highlight-color: transparent;
}

.block-item {
    position: relative;
    padding: 10px;
    line-height: 1.5;
    border: 0;
    -webkit-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    -moz-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    border-top: 2px solid #e5e5e5;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .block-item {
        border-top-width: 1px;
    }
}

.block-item .btn-auth-code {
    position: absolute;
    top: 6px;
    right: 0;
    height: 30px;
    line-height: 30px;
    padding-left: 7px;
    padding-right: 7px;
    font-weight: 700;
}

.block-item .verify-image {
    position: absolute;
    width: 80px;
    height: 30px;
    right: 10px;
    top: 7px;
}

.block,
.quantity,
.quantity .minus {
    position: relative;
}

.block-item.border-none {
    border-top: 0;
}

.block-item ul {
    padding-right: 50px;
}

.block-item ul em {
    color: #999;
}

.block-item h4.block-item-title {
    line-height: 22px;
    float: left;
    margin-right: 10px;
}

.block {
    -webkit-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    -moz-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    border-top: 2px solid #e5e5e5;
    border-bottom: 2px solid #e5e5e5;
    margin: 10px 0;
    background-color: #fff;
    font-size: 14px;
}

.block.top-0,
.block:first-child {
    margin-top: 0;
}

.quantity,
.tag {
    display: inline-block;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .block {
        border-top-width: 1px;
        border-bottom-width: 1px;
    }
}

.block.border-0,
.block.border-top-0 {
    border-top: 0;
}

.block.border-0,
.block.border-bottom-0 {
    border-bottom: 0;
}

.block.bottom-0 {
    margin-bottom: 0;
}

.block .bottom {
    padding: 10px;
    height: 18px;
    line-height: 18px;
}

.block .bottom .price {
    float: right;
    color: #f60;
}

.block.block-list {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.block.block-list.margin-top-normal {
    margin-top: 20px;
}

.block-list.wf {
    padding-left: 0;
}

.block-list.wf .b-list {
    padding-left: 10px;
    background-color: #fff;
}

.block-list>.block-item {
    padding: 10px 10px 10px 0;
}

.block-list>.block-item:first-child {
    border-top: 0 none;
}

.block.block-list+.block.block-list {
    margin-top: 12px;
}

// @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
// only screen and (min--moz-device-pixel-ratio: 1.5),
// only screen and (-o-min-device-pixel-ratio: 3 / 2),
// only screen and (min-device-pixel-ratio: 1.5) {
//     .block.block-list li span.clear {
//         background: url('~assets/common/images/icon_clear@2x.png') center center no-repeat;
//         background-size: 100%;
//     }
// }

.tag {
    background-color: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    color: #999;
    font-size: 12px;
    line-height: 12px;
    padding: 4px;
}

.tag-big {
    font-size: 14px;
    line-height: 18px;
}

.tag.tag-green {
    color: #06bf04;
    border-color: #0c3;
}

.tag.tag-orange,
.tag.tag-orangef60 {
    color: #f60;
    border-color: #f60;
}

.tag.tag-white {
    color: #333;
    border-color: #bbb;
}

.tag.tag-blue {
    color: #38f;
    border-color: #38f;
}

.tag.tag-red {
    color: #ed5050;
    border-color: #ed5050;
}

.tag.tag-pink {
    color: #ee614b;
    border-color: #ee614b;
}

.tag.disabled {
    background-color: #ddd !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    color: #fff !important;
}

.quantity {
    font-size: 0;
}

.quantity input[type='number']::-webkit-outer-spin-button {
    margin: 0;
}

.quantity button {
    border: 2px solid #eee;
    font-size: 16px;
    line-height: 10px;
    font-weight: 700;
    color: #666;
    padding: 5px;
    outline: 0 !important;
    width: 26px;
    height: 30px;
    text-indent: -9999px;
    overflow: hidden;
}

.quantity .txt {
    font-size: 14px;
    width: 24px;
    height: 18px;
    border-radius: 0;
}

.quantity .minus::before,
.quantity .plus::before {
    width: 8px;
    height: 2px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #6c6c6c;
    bottom: 0;
    content: '';
}

.quantity .txt:focus {
    border-color: #eee;
}

.quantity .minus {
    border-radius: 4px 0 0 4px;
    border-right: 0 none;
}

.quantity .minus::before {
    position: absolute;
}

.quantity .plus {
    position: relative;
    border-left: 0 none;
    border-radius: 0 4px 4px 0;
}

.quantity .plus::before {
    position: absolute;
}

.quantity .plus::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    content: '';
    width: 2px;
    height: 8px;
    background-color: #6c6c6c;
}

.quantity .minus.disabled::before,
.quantity .plus.disabled::after,
.quantity .plus.disabled::before {
    background-color: #ddd;
}

.quantity .response-area {
    width: 42px;
    height: 42px;
    top: -7px;
    position: absolute;
}

.name-card,
.name-card .thumb {
    position: relative;
    overflow: hidden;
}

.quantity .response-area-plus {
    right: -5px;
}

.quantity .response-area-minus {
    left: -5px;
}

.name-card {
    margin-left: 0;
    width: auto;
    padding: 5px 0;
}

.name-card .thumb {
    width: 60px;
    height: 60px;
    float: left;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

.name-card .thumb img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.name-card a:active,
.name-card a:hover {
    text-decoration: none;
}

.name-card .detail {
    margin-left: 68px;
    width: auto;
    position: relative;
}

.name-card .detail h3 {
    margin-top: 1px;
    color: #333;
    font-size: 12px;
    line-height: 16px;
    width: 100%;
}

.name-card .detail p {
    position: relative;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    margin: 0 0 2px;
    color: #ccc;
}

.name-card .detail a {
    display: block;
}

.name-card .detail .l2-ellipsis {
    max-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.name-card .btn-goods-link {
    bottom: 8px;
    right: 10px;
    position: absolute;
    line-height: 14px;
    font-size: 12px;
}

.name-card.name-card-3col {
    padding: 8px 85px 8px 0;
}

.name-card.name-card-3col .right-col {
    position: absolute;
    right: 0;
    top: 8px;
    width: 78px;
    padding-right: 10px;
    font-size: 12px;
}

.name-card.name-card-3col .right-col .price {
    font-size: 14px;
    color: #515151;
    text-align: right;
    line-height: 16px;
}

.name-card.name-card-3col .right-col .num {
    font-weight: 200;
    text-align: right;
    margin-top: 3px;
    padding: 0;
    color: #555;
}

.name-card.name-card-3col .right-col .num .num-txt {
    padding: 0;
    line-height: 22px;
    color: #515151;
}

.name-card.name-card-3col .right-col .order-state {
    font-size: 13px;
    text-align: right;
}

.sku-layout {
    background-color: #f8f8f8;
}

.sku-layout .line-through {
    display: inline-block;
    text-decoration: line-through;
    line-height: 23px;
}

.sku-layout .block-item {
    border: 0;
    -webkit-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    -moz-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    border-top: 2px solid #e5e5e5;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .sku-layout .block-item {
        border-top-width: 1px;
    }
}

.sku-layout .block-item:first-child {
    border-top: 0 none;
}

.sku-box-shadow {
    -webkit-box-shadow: 0 -1px 14px rgba(0, 0, 0, 0.9);
    box-shadow: 0 -1px 14px rgba(0, 0, 0, 0.9);
}

.sku-layout-title {
    -webkit-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    -moz-border-image: url('~assets/common/images/border-line-2.png') 2 stretch;
    border-bottom: 2px solid #e5e5e5;
    border-top-width: 0;
    position: static;
    padding: 10px 0;
    margin-left: 10px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .sku-layout-title {
        border-bottom-width: 1px;
    }
}

.sku-layout-title .thumb {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    border-radius: 2px;
}

.sku-layout-title .goods-base-info {
    margin-left: 60px;
}

.sku-layout-title .goods-base-info .title {
    padding-right: 52px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.sku-layout-title .goods-base-info .goods-price {
    padding: 0 55px 0 0;
    font-size: 16px;
    color: $red;
}

.sku-layout-title .goods-base-info .current-price {
    line-height: 20px;
}

.sku-layout-title .goods-base-info .current-price .price-name {
    padding-top: 1px;
}

.sku-layout-title .goods-base-info .current-price .price-tag {
    padding: 0 5px;
    margin-left: 5px;
    line-height: 16px;
    font-size: 10px;
    border-radius: 2px;
}

.sku-layout-title .goods-base-info .old-price,
.sku-layout-title .goods-base-info .original-price {
    color: #999;
}

.sku-layout-title .goods-base-info .original-price {
    display: none;
}

.sku-layout-title .goods-base-info .old-price {
    display: block;
    margin: 5px 0 0 2px;
    font-size: 10px;
    line-height: 12px;
}

.sku-layout .sku-cancel {
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px;
}

.sku-layout .sku-cancel i {
    font-size: 24px;
    color: $gray;
}

.sku-layout .goods-models .sku-list-container {
    padding: 10px 0 0;
    border: 0;
}

.sku-layout .sku-sel-title {
    margin-bottom: 10px;
    font-size: 13px;
}

.sku-layout .sku-sel-list {
    zoom: 1;
    padding-left: 0;
    margin-bottom: 0;
}

.sku-layout .sku-sel-list:after {
    content: '';
    display: table;
    clear: both;
}

.sku-layout .sku-tag {
    position: relative;
    margin-right: 10px;
    min-width: 32px;
    max-width: 180px;
    line-height: 16px;
    padding: 5px 9px;
    margin-bottom: 10px;
    color: #333;
    border-color: #999;
}

.sku-layout .sku-tag.unavailable {
    border-color: #e5e5e5;
    color: #cacaca;
    background-color: #eee;
    cursor: not-allowed;
}

.sku-layout .sku-tag.active {
    color: #fff;
    background-color: #f23030;
    border-color: #f23030;
}

.sku-layout .sku-num {
    line-height: 29px;
}

.sku-layout .other-info {
    line-height: 14px;
}

.sku-layout .stock {
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
}

.sku-layout .quota {
    display: inline-block;
    font-size: 12px;
    color: #f15a0c;
}

.sku-layout .quantity {
    float: right;
}

.sku-layout .quantity .minus {
    border-radius: 2px 0 0 2px;
}

.sku-layout .quantity .minus.disabled {
    background-color: #f8f8f8;
    border-color: #e8e8e8 #999 #e8e8e8 #e8e8e8;
}

.sku-layout .quantity .minus.disabled::before {
    background-color: #bbb;
}

.sku-layout .quantity .plus {
    border-radius: 0 2px 2px 0;
}

.sku-layout .quantity .plus.disabled {
    background-color: #f8f8f8;
    border-color: #e8e8e8 #e8e8e8 #e8e8e8 #999;
}

.sku-layout .quantity .plus.disabled::after,
.sku-layout .quantity .plus.disabled::before {
    background-color: #bbb;
}

.sku-layout .quantity .txt {
    width: 33px;
    height: 25px;
    padding: 1px;
    border: 1px solid #999;
    border-width: 1px 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    color: #666;
}

.sku-layout .quantity .txtCover {
    position: absolute;
    top: 0;
    left: 37px;
    bottom: 0;
    right: 37px;
}

.sku-layout .quantity .minus,
.sku-layout .quantity .plus {
    width: 37px;
    height: 29px;
    background-color: #fff;
    border: 1px solid #999;
}

.sku-layout .quantity .minus::before,
.sku-layout .quantity .plus::before {
    height: 1px;
    width: 9px;
    background-color: #666;
}

.sku-layout .quantity .minus::after,
.sku-layout .quantity .plus::after {
    width: 1px;
    height: 9px;
    background-color: #666;
}

sup.required {
    color: red !important;
}

.block-list .block-item.block-item-messages {
    padding: 0;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
}

.goods-models.js-sku-views.block.block-list {
    margin-bottom: 10px;
}

.sku-layout {
    -webkit-overflow-scrolling: touch;
}

.sku-layout .layout-content {
    overflow-y: scroll;
    line-height: 20px;
    background-color: #f8f8f8;
}

.sku-layout .content-foot {
    font-size: 0;
}

.sku-layout .content-foot .half-button {
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
}

.sku-layout .content-foot .half-button:first-child {
    padding-right: 5px;
}

.sku-layout .content-foot .half-button:last-child {
    padding-left: 5px;
}

.sku-layout .content-foot .btn-buy,
.sku-layout .content-foot .btn-cart,
.sku-layout .content-foot .btn-next {
    padding: 8px;
    line-height: 17px;
    font-size: 14px;
}

.big-btn-1-1 {
    overflow: hidden;
    text-align: center;
}

.orange-btn {
    width: 100%;
    line-height: 40px;
    font-size: 16px;
    padding: 0;
    border: none;
    vertical-align: top;
    background: #f23030;
    color: #fff;
    position: relative;
    display: block;
}